package com.zjhn.ds.param;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @BelongsProject: ds_jlw
 * @BelongsPackage: com.zjhn.ds.param
 * @Author: sxt
 * @CreateTime: 2023-09-11  10:14
 * @Description:
 * @Version: 1.0
 */
@Data
public class AddGroupParam {
    @ApiModelProperty("分组id 为空表示新增")
    @JsonProperty("group_id")
    private String groupId;

    @ApiModelProperty("分组名称")
    @JsonProperty("group_name")
    @NotBlank(message = "分组名称不能为空")
    private String groupName;

    @ApiModelProperty("分组排序")
    private Integer sort;

    @ApiModelProperty("车间id")
    @JsonProperty("workshop_id")
    @NotBlank(message = "车间id不能为空")
    private String workshopId;

}
